package jsu.xxy.coffee3.domain;


import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 订单表
 * @TableName orderform
 */
@TableName(value ="orderform")
@Data
public class Orderform implements Serializable {
    /**
     * 订单编号
     */
    @TableId
    private Integer oid;

    /**
     * 订单状态
     */
    private Integer statu;

    /**
     * 顾客编号
     */
    private Integer cid;

    /**
     * 员工编号
     */
    private Integer sid;

    /**
     * 下单时间
     */
    private LocalDateTime time;

    /**
     * 总金额
     */
    private Double total;
    private String remarks;
    private Integer totalnum;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", oid=").append(oid);
        sb.append(", statu=").append(statu);
        sb.append(", cid=").append(cid);
        sb.append(", sid=").append(sid);
        sb.append(", time=").append(time);
        sb.append(", total=").append(total);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}